<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" import="javaBean.RegForm" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>exam309</title>
</head>
<body>
<jsp:useBean id="r1" class="javaBean.RegForm" scope ="request"></jsp:useBean>
<jsp:setProperty name ="r1" property = "*" ></jsp:setProperty>
<br><br>姓名=
<jsp:getProperty name ="r1" property = "userName" ></jsp:getProperty>
<br><br>密码=
<jsp:getProperty name ="r1" property = "password" ></jsp:getProperty>
<%
out.print("<br/><br/>"+"爱好 ：<br/>");
if(r1.getHobby().length>0){
for(int i=0;i<r1.getHobby().length;i++){
	out.print(r1.getHobby()[i]+"<br/>");
}
}
%>
<br><br>性别=
<jsp:getProperty name ="r1" property = "sect" ></jsp:getProperty>
<br><br>附言=
<jsp:getProperty name ="r1" property = "memo" ></jsp:getProperty>
<br><br>开户行=
<jsp:getProperty name ="r1" property = "bankAccount" ></jsp:getProperty>
</body>
</html>